#pragma once

#include "Widgets/Widget.h" 
#include "PopMenuPositionerWidget.m.h"

//let sub widget arround the this widget
//sub widget must provide a fixed width and height to calculate position
/*
*
*      *********************
*      * sub               *
*      * widget            *
*      *                   *
*      *********************
*      *this widget *
*      **************
*/

RCLASS()
class WHENGINE_API RPopMenuPositionerWidget : public RWidget
{
    ROBJECT

protected:
    virtual void CalculateChildrenPresentPositionAndSize() override;

};
